projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a144e8
)
Add 'usbfree' target.
author
robertl
<robertl>
Mon, 27 Jun 2005 18:36:02 +0000
(18:36 +0000)
committer
robertl
<robertl>
Mon, 27 Jun 2005 18:36:02 +0000
(18:36 +0000)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index df34c7c36fe5755f72d7a758ecee41276873df6c..5ac6fbb78e3ce108d6ce42b7082f7ac1e2add0b0 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-56,6
+56,15
@@
OBJS = main.o $(LIBOBJS)
all: gpsbabel
+#
+# Alternate makefile target for the case when you have no libusb and no
+# need for Garmin/USB (60, 76C, VistaC, Quest, etc.) support.
+#
+usbfree:
+ make LIBUSB= INHIBIT_USB=-DNO_USB
+
+
+
gpsbabel: $(OBJS)
$(CC) $(CFLAGS) $(OBJS) -o gpsbabel $(LIBEXPAT) $(LIBUSB) -lm